package com.hhkj.admin.course.service.base;

import com.hhkj.admin.course.domain.CoursePriceConf;
import com.hhkj.admin.course.model.dopo.CoursePriceConfDo;
import com.hhkj.admin.course.model.dopo.CoursePriceConfPo;
import com.ruoyi.common.base.biz.service.base.BaseService;

import java.util.List;
import java.util.Map;

/**
* @author admin
* @description 针对表【s_course_price_conf(课程价格默认题库的价格套餐)】的数据库操作Service
* @createDate 2023-10-24 18:11:44
*/
public interface CoursePriceConfService extends BaseService<CoursePriceConf, CoursePriceConfDo, CoursePriceConfPo> {

    /**
     * 根据课程id列表获取每个课程对应的价格列表
     * @param courseIdList
     * @return courseId-List<CoursePriceConf>
     */
    Map<Long, List<CoursePriceConf>> groupByCourseIdList(List<Long> courseIdList);

    /**
     * 根据id列表获取类目价格信息列表
     * @param idList
     * @return
     */
    List<CoursePriceConf> listByIdList(List<Long> idList);
}
